home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Graphics
/
vpeg
/
vpeg.doc
< prev
next >
Wrap
Text File
|
2001-06-10
|
4KB
|
127 lines
Introduction
~~~~~~~~~~~~
VPeg is a mpeg-player (video and/or audio) for hardware such as the Peggy+ and
CD³² FMV module, or any other hardware using the mpeg.device API (limitations
of the corresponding hardware and/or driver apply), that said, this software
has currently only been tested on Peggy+, feedback on others appreciated...
Features
~~~~~~~~
· VCD *and* CDi support.
· Alternate mpeg.device selection.
· Multiple input-files and wildcard support.
· Can scan for mpeg-data in files which contain prepended junk.
· Lots of strange options you have to play around with to figure out what
they do. ;)
Usage
~~~~~
VPeg takes any number of input-file arguments with or without wildcards, example:
"vpeg whatever.mpg series#?.mpg" - plays whatever.mpg and series[#?].mpg
Also it can find mpeg-data within a file prepended with junk and start playback
at the correct position:
"vpeg junkinfront.mpg FINDSYNC" - will scan junkinfront.mpg for mpeg-sync.
It can also clear the custom-chip video-data (if f.ex. you've run AddAudioModes)
by opening and closing a PAL/NTSC screen so that video will play back properly:
"vpeg whatever.mpg NEWSCREEN"
..or, if you want to open and keep a new screen for the duration of playback
(if f.ex. you already have a custom-chip screen open and in use):
"vpeg whatever.mpg NEWSCREEN KEEPSCREEN"
..what screenmode to use is usually decided through reading the system EClock,
but you can override this with DISPLAY:
"vpeg whatever.mpg NEWSCREEN KEEPSCREEN DISPLAY=NTSC"
..but if you have a Peggy Video Converter module all you need is:
"vpeg whatever.mpg CONVERTER"
To play a VCD/CDi you will have to supply a dummy input-file argument (due to
the nature of ReadArgs()):
"vpeg whatever VCD DEVICE=cybppc.device UNIT=4"
If you don't have a Peggy+ but some other hardware decoder, you have to select
another mpeg.device (be *VERY* careful of what you select here, anything other
than a mpeg.device can destroy data), f.ex. for the CD³² FMV module:
"vpeg whatever.mpg MPEGDEVICE=cd32mpeg.device"
During playback you can control certain things through the use of break-signals:
CTRL-C - Stop all playback and quit.
CTRL-D - Skip current file/track.
CTRL-E - Pause/Resume playback.
CTRL-F - Forward Search/Resume playback.
The VERBOSE option will output details on your hardware decoder and progress
information as well as statistics on the files/VCD/CDi...
For more options, see below...
Arguments
~~~~~~~~~
FILE/A/M - Input file(s) to play, accepts multiple inputs and wildcards.
FINDSYNC/S - Scan file for sync (nice for files with junk infront).
NEWSCREEN/S - Open and close a new screen (to clear f.ex. AddAudioModes).
KEEPSCREEN/S - Keep the screen open until playback is finished (only with NEWSCREEN).
DISPLAY/K - Accepts PAL or NTSC, default is selected from EClock.
KEEPAUDIO/S - Don't close Peggy+ audio resources.
KEEPVIDEO/S - Don't close Peggy+ video resources.
NOPLAY/S - Do everything but actual playback.
YCBCRMODE/S - Output in YCbCr video-mode.
PVC=CONVERTER/S - Output through Peggy Video Converter module.
VOL=VOLUME/N - Sets volume (0-65535), only 0 (mute) makes a difference on Peggy+.
OP=OPACITY/N - Sets opacity (0-65535), only 0 (blank) makes a difference on Peggy+.
L=LOOPS/N - Loop video x times, 0 means forever.
JL=JUSTIFYLEFT/N - Adjust picture (in halfpixels) from the left, default is center (0).
JT=JUSTIFYTOP/N - Adjust picture (in pixels) from the top, default is center (0).
VCD/S - VCD/CDi mode, be sure to give a dummy FILE argument.
DEV=DEVICE/K - SCSI device to check for VCD/CDi disc.
U=UNIT/N - SCSI unit to check for VCD/CDi disc.
MPDEV=MPEGDEVICE/K - Playback device (f.ex. cd32mpeg.device), default is peggympeg.device.
VERBOSE/S - Output progress and device information.
Future
~~~~~~
I'm very busy these days, but if I find the time, here's a few features I'd
like to add (in no particular order):
· Full-featured GUI.
· Prefs
· Internal demuxer.
· Internal SCSI-support.
Author
~~~~~~
Sigbjørn (CISC) Skjæret <cisc@c2i.net>
Bugreports and/or feature-requests are welcome, even better if you sent me
the fix... ;)